package operation.commom.system;

public class SqlProvider {
    public StringBuffer getSelect(String name, Object value, String operator, String char1, String char2, StringBuffer select) {

        if (!(value == null || "".equals(value) || ("".equals(char1) && Integer.parseInt(value.toString()) == 0))) {

            select.append(" and " + name + " " + operator + " " + char1 + char2 + value + char2 + char1);
        }
        return select;
    }
}
